AR = ar
ARFLAGS =
RM = rm
ECHO = echo
SHELL = /bin/bash
INCLUDE=-I. -I SGCTypes/Headers
CXX=g++
DIRS = SGCTypes
SRCS=$(wildcard *.cpp)
OBJS:=$(patsubst %.cpp,%.o,$(wildcard *.cpp))
EXE=main
OBJLIBS=libSGCTypes.a


all: $(EXE)

$(EXE): $(OBJS)
	-$(ECHO)  $(OBJS)
	$(CXX) -o $(EXE) $(OBJS)
$(OBJS): $(SRCS)
	$(foreach var,$(SRCS),$(CXX) -g -c -o $(patsubst %.cpp,%.o,$(var)) $(var) $(INCLUDE);)
clean: 
	-$(RM) -rf *.o
	-$(RM) -r $(EXE)
